package object;

public class IntegerTest01 {
    public static void main(String[] args) {
        int max = Integer.MAX_VALUE;
        int min = Integer.MIN_VALUE;
        System.out.println("int的最大值为:"+max+",最小值为:"+min);

        long max1 = Long.MAX_VALUE;
        long min1 = Long.MIN_VALUE;
        System.out.println("long的最大值为:"+max1+",最小值为:"+min1);


        String s1 = "100";
        int age = Integer.parseInt(s1);
        System.out.println(age);

        String s2 = "100";
        double price = Double.parseDouble(s2);
        System.out.println(price);
    }
}
